package api.person;

/**
 * @author Ann Raboschuk
 */
public class Phone implements IPhone
{
   private Long id;
   private String phone;
   
   public Phone(Long id, String phone)
   {
      this.id = id;
      this.phone = phone;
   }
   
   @Override
   public Long getId()
   {
      return id;
   }

   @Override
   public String getPhone()
   {
      return phone;
   }

   @Override
   public void setId(Long id)
   {
      this.id = id;      
   }

   @Override
   public void setPhone(String phone)
   {
      this.phone = phone;
   }
}
